﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using SharedGenomics.Core;

namespace SharedGenomics.Workbench.Core
{
    public interface IObjectValidator
    {
        IValidationErrorCollection ValidateFromAttributes<T>(T item);
        bool TryValidateFromAttributes<T>(T item, out IValidationErrorCollection errors);
    }
}
